package com.googlecode.rjm.model.journal;

import javax.persistence.DiscriminatorValue;
import javax.persistence.Entity;

import com.googlecode.rjm.model.User;


@Entity
@DiscriminatorValue(value="attr#assigned_to_id")
public class AssignedJournalDetail extends JournalDetail<User> {
	
	private static final long serialVersionUID = 1L;

	@Override
	public User getTypedValue() {
		return loadObjectFromId(this.getValue(), User.class);
	}

	@Override
	public User getOldTypedValue() {
		return loadObjectFromId(this.getOldValue(), User.class);
	}

	
}
